<?xml version="1.0" encoding="utf-8" ?>
<TestCase testName="Test_02_ApplicationGetStatus">

	<TestSetup>
		<!-- Ensure application is stopped pre-test-->
		<TestStep assemblyPath="BizUnit.Extensions.BizTalk.dll" typeName="BizUnit.Extensions.BizTalk.ApplicationConductorStep" failOnError="true">
			<!-- Optional, seconds to delay for this step to complete -->
			<ApplicationName>CBRApplication</ApplicationName>
			<Action>Stop</Action>
		</TestStep>



	</TestSetup>
   
	<TestExecution>
		<TestStep assemblyPath="BizUnit.Extensions.BizTalk.dll" typeName="BizUnit.Extensions.BizTalk.ApplicationGetStatusStep" failOnError="true">
			<DelayForCompletion>5</DelayForCompletion> 
    		<ApplicationName>CBRApplication</ApplicationName>
    		<ConnectionString takeFromCtx="connectionString"></ConnectionString>

			<ValidationStep assemblyPath="BizUnit.Extensions.dll" typeName="BizUnit.Extensions.ContextVerifyStep">
				<Verify keyName="CurrentApplication">CBRApplication</Verify>
				<Verify keyName="ApplicationStatus">Stopped</Verify>
			</ValidationStep>

		</TestStep>
    </TestExecution>
    
    <TestCleanup>
    </TestCleanup>    

</TestCase> 
 
